//
//  CZTestViewController.swift
//  GZWeibo666
//
//  Created by eshine_33 on 16/5/25.
//  Copyright © 2016年 itcast. All rights reserved.
//

import UIKit

class CZTestViewController: UITableViewController {

    override func viewDidLoad() {
        super.viewDidLoad()

//        self.title = "测试控制器"
    }

    override func didReceiveMemoryWarning() {
        super.didReceiveMemoryWarning()
        // Dispose of any resources that can be recreated.
    }

    // MARK: - Table view data source

    override func numberOfSectionsInTableView(tableView: UITableView) -> Int {
        // #warning Incomplete implementation, return the number of sections
        return 1
    }
    
    override func tableView(tableView: UITableView, numberOfRowsInSection section: Int) -> Int {
        // #warning Incomplete implementation, return the number of rows
        return 10
    }
    
    override func tableView(tableView: UITableView, cellForRowAtIndexPath indexPath: NSIndexPath) -> UITableViewCell {
        
        let cell:UITableViewCell = UITableViewCell()
        cell.textLabel?.text = self.title
        
        cell.accessoryType = UITableViewCellAccessoryType.DisclosureIndicator
        return cell
    }
}
